package com.woniu.payservice.service;

import com.woniu.payservice.entity.Orders;
import java.util.List;

public interface OrdersService {

    Orders queryById(Integer id);

    List<Orders> queryAllByLimit(int offset, int limit);
    
    List<Orders> findAll();
    Orders insert(Orders orders);

    Orders update(Orders orders);

    boolean deleteById(Integer id);

    void updateOstateByOnumber(Orders orders);

    String getPayNumberByOnumber(String out_trade_no);

    List<Orders> queryOrdersByOrderStatus(Integer i);
}